export function resToObject(res, keys) {
  const resObject = {}

  for (let i in keys) {
    resObject[keys[i]] = res[i]
  }

  return resObject
}
